package xkp.lesson2;

public class Demo3 {
	public static void main(String[] args) {
		int result1 = getSum(100, 200);
		double dResult = getSum(22.22,33.33);
	}
	
	public static int getSum(int num1,int num2) {
		return num1+num2;
	}
	
	public static double getSum(double num1,double num2) {
		return num1+num2;
	}

}
